package com.hospital.common.core.module.entity.MED;

import com.alibaba.fastjson.JSONObject;
import com.hospital.common.core.module.entity.NFC.ParentParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class MedRequest extends ParentParam {
    /**
     *加密类型
     */
    @NotBlank
    private String  encryptType;
    /**
     *加密数据
     */
    @NotBlank
    private String  encryptData;
    /**
     *签名数据
     */
    @NotBlank
    private String  sign;
    /**
     *明文数据
     */
    private JSONObject data;

    @NotBlank
    private JSONObject param;

    private int    code;
}
